import http from "@/server/http";

//修改头像
export const apiUpdateAvatar = (params) => {
    return http({
        url: "/unit/department/get_list",
        method: "POST",
        data: params,
    })
}

// 退出登录
export const apiLogout = (params) => {
    return http({
        url: "/main/index/logout",
        method: "POST",
        data: params,
    })
}
